export const useWorkInitComfyModel = async () => {
    const {models}=storeToRefs(useWorkEditStore())
    await ComfyUI.Initalize()
    models.value = []
    ComfyUI.ckpt_names.forEach((item, index) => {
        models.value.push({
            name: item.split('.')[0],
            ckpt_id: index,
            category: 'default',
            cover: 'https://wangbo0808.oss-cn-shanghai.aliyuncs.com/aidraw/19659-769977270-woman%2C%20flower%20dress%2C%20colorful%2C%20darl%20background%2Cflower%20armor%2Cgreen%20theme%2Cexposure%20blend%2C%20medium%20shot%2C%20bokeh%2C%20(hdr.png',
            types: []
        })
    })
}